package com.android.sdk;

import great.app.luck.easybatteryrecommend.EasyBatteryRecommendUtil;

import com.sdk.activity.IntentJumpUtil;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;

public class AndroidSDK extends Activity implements OnClickListener {
	public static final String TAG = AndroidSDK.class.getSimpleName();

	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.androidsdk_test);
		findViewById(R.id.btn3DGallery).setOnClickListener(this);

		new EasyBatteryRecommendUtil(AndroidSDK.this)
				.recommendByDialog2(
						"The best Anti-virus app",
						"MT Antivirus is the best Anti-virus app to protect your precious handheld from viruses and malware!",
						"com.hot.free.defence.main");
	}

	@Override
	protected void onDestroy() {
		super.onDestroy();
	}

	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.btn3DGallery:
			IntentJumpUtil.startSelectedActivity(AndroidSDK.this,
					CoverFlowTest.class);
			break;

		default:
			break;
		}
	}
}
